package com.yy.eventbus;

import java.lang.reflect.Method;

/**
 * User: gongyongfeng2@yy.com
 * Date: 2020/7/22 20 :49
 */
class SubscriberMethod {
    private Method mSubscriberMethod;
    private YYThreadModel mYYThreadModel;
    private Class<?> parameterType;

    public SubscriberMethod(Method subscriberMethod, YYThreadModel YYThreadModel,
                            Class<?> parameterType) {
        mSubscriberMethod = subscriberMethod;
        mYYThreadModel = YYThreadModel;
        this.parameterType = parameterType;
    }

    public Method getSubscriberMethod() {
        return mSubscriberMethod;
    }

    public void setSubscriberMethod(Method subscriberMethod) {
        mSubscriberMethod = subscriberMethod;
    }

    public YYThreadModel getYYThreadModel() {
        return mYYThreadModel;
    }

    public void setYYThreadModel(YYThreadModel YYThreadModel) {
        mYYThreadModel = YYThreadModel;
    }

    public Class<?> getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class<?> parameterType) {
        this.parameterType = parameterType;
    }
}
